package com.lesson11.waiguan;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/9/2 19:21
 */
public class DVDPlay
{
    private static DVDPlay instance = new DVDPlay();

    private DVDPlay()
    {
    }

    public static DVDPlay getInstance(){
        return instance;
    }

    public void on(){
        System.out.println("on");
    }

    public void off(){
        System.out.println("off");
    }

    public void play(){
        System.out.println("play");
    }

    public void pause(){
        System.out.println("pause");
    }
}
